/*
 * 版权信息：北京汉方三陆零科技有限公司</br>
 * Copyright ©2014-2015. All rights reserved.  京ICP备15000045号
 */
package com.lin.factory.shaxian.xiaochi;

import com.lin.factory.shaxian.Xiaochi;
import com.lin.factory.shaxian.peiliao.gongchang.PeiliaoGongchang;

/****************************************************************************
 * com.lin.factory.shaxian.xiaochi TianXiaochi.java Created on 2016年1月8日
 * @Author: linfenliang
 * @Description:
 * @Version: 1.0
 ***************************************************************************/
public class TianXiaochi extends Xiaochi {
	PeiliaoGongchang gongchang;
	public TianXiaochi(PeiliaoGongchang gongchang) {
		this.gongchang = gongchang;
	}
	@Override
	public void zhizuo() {
		System.out.println("甜小吃制作");
		this.shaotang(this.gongchang.createTang());
		this.fangcai(this.gongchang.createCai());
		this.fangrou(this.gongchang.createRou());
		this.xiazhushi(this.gongchang.createZhushi());
		System.out.println("做完了");
	}

}
